package com.zzq.service;

import com.zzq.domain.dto.SmileShootAddressDTO;
import com.zzq.domain.entity.SmileShootAddress;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzq.domain.search.ShootAddressSearchParamet;

import java.math.BigDecimal;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 谢文宗
 * @since 2023-08-22
 */
public interface SmileShootAddressService extends IService<SmileShootAddress> {


    public List<SmileShootAddressDTO> getShootAddressDTO(ShootAddressSearchParamet searchParamet);

    public SmileShootAddressDTO getShootAddressDTObyId(Long id);

    /**
     *
     * @param shoot_longitude 经度
     * @param shoot_latitude 纬度
     * @return 获取 在纬度范围内是否有地址
     */
    public Boolean  getScopeTarget(BigDecimal shoot_longitude,BigDecimal shoot_latitude,Long radius);
}
